package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单列对象 car_order
 * 
 * @author ruoyi
 * @date 2024-10-01
 */
public class CarOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    private Long id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 下单用户ID */
    @Excel(name = "下单用户ID")
    private Long userId;

    /** 下单用户姓名 */
    @Excel(name = "下单用户姓名")
    private String userName;

    /** 车辆ID */
    @Excel(name = "车辆ID")
    private Long carId;

    /** 车辆编号 */
    @Excel(name = "车辆编号")
    private String carNo;

    /** 车辆型号 */
    @Excel(name = "车辆型号")
    private Long carModelId;

    /** 车辆数量  */
    @Excel(name = "车辆数量 ")
    private Long carQty;

    /** 取车地点 */
    @Excel(name = "取车地点")
    private String pickAddress;

    /** 取车定位 */
    @Excel(name = "取车定位")
    private String pickLocation;

    /** 企业用车 */
    @Excel(name = "企业用车")
    private String companyUser;

    /** 本人担保 */
    @Excel(name = "本人担保")
    private String personUser;

    /** 添加司机人数 */
    @Excel(name = "添加司机人数")
    private Long addDriverQty;

    /** 路基箱数量 */
    @Excel(name = "路基箱数量")
    private Long subgradeBoxQty;

    /** 吊车吨位 */
    @Excel(name = "吊车吨位")
    private BigDecimal carWeight;

    /** 机长数量 */
    @Excel(name = "机长数量")
    private Long captain;

    /** 施工方式 */
    @Excel(name = "施工方式")
    private String chargeType;

    /** 入场时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入场时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 取车时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "取车时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pickCarTime;

    /** 付款方式 0：0天，30：30天，60：60天，90：90天 */
    @Excel(name = "付款方式 0：0天，30：30天，60：60天，90：90天")
    private String payType;

    /** 保险 */
    @Excel(name = "保险")
    private String insurance;

    /** 保养 */
    @Excel(name = "保养")
    private String upkeep;

    /** 工作时长 */
    @Excel(name = "工作时长")
    private BigDecimal workMonth;

    /** 地址ID */
    @Excel(name = "地址ID")
    private String workAddressId;

    /** 地址 */
    @Excel(name = "地址")
    private String workAddress;

    /** 施工场景 */
    @Excel(name = "施工场景")
    private String workEnv;

    /** 工作内容 */
    @Excel(name = "工作内容")
    private String workContent;

    /** 是否有保证金 0：没有，1：有 */
    @Excel(name = "是否有保证金 0：没有，1：有")
    private String earnestMoneyFlag;

    /** 保证金 */
    @Excel(name = "保证金")
    private BigDecimal earnestMoney;

    /** 折扣 */
    @Excel(name = "折扣")
    private String discount;

    /** 税率 */
    @Excel(name = "税率")
    private BigDecimal rate;

    /** 运输方式 */
    @Excel(name = "运输方式")
    private String shipMode;

    /** 增配驾驶员 */
    @Excel(name = "增配驾驶员")
    private String addDriver;

    /** 增配驾驶员金额 */
    @Excel(name = "增配驾驶员金额")
    private BigDecimal addDriverPrice;

    /** 就餐 */
    @Excel(name = "就餐")
    private String eat;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal eatPrice;

    /** 住宿 */
    @Excel(name = "住宿")
    private String sleep;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal sleepPrice;

    /** 燃油 */
    @Excel(name = "燃油")
    private String oil;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal oilPrice;

    /** 拆卸人工 */
    @Excel(name = "拆卸人工")
    private String dismantlePerson;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal dismantlePersonPrice;

    /** 拆车辅助吊车 */
    @Excel(name = "拆车辅助吊车")
    private String dismantleCar;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal dismantleCarPrice;

    /** 组装辅助吊车 */
    @Excel(name = "组装辅助吊车")
    private String packageCar;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal packgaCarPrice;

    /** 安装人工 */
    @Excel(name = "安装人工")
    private String installPerson;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal installPersonPrice;

    /** 年检检测 */
    @Excel(name = "年检检测")
    private String yearCheck;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal yearCheckPrice;

    /** 委托检测 */
    @Excel(name = "委托检测")
    private String entrustCheck;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal entrustCheckPrice;

    /** 环保检测 */
    @Excel(name = "环保检测")
    private String envCheck;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal envCheckPrice;

    /** 使用登记证 */
    @Excel(name = "使用登记证")
    private String certificate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal certificatePrice;

    /** 体检 */
    @Excel(name = "体检")
    private String medical;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal medicalPrice;

    /** 总金额 */
    @Excel(name = "总金额")
    private BigDecimal totalPrice;

    /** 司机ID */
    @Excel(name = "司机ID")
    private Long driverId;

    /** 司机名称 */
    @Excel(name = "司机名称")
    private String driverName;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String contractNo;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String invoice;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String orderState;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }
    public void setCarNo(String carNo) 
    {
        this.carNo = carNo;
    }

    public String getCarNo() 
    {
        return carNo;
    }
    public void setCarModelId(Long carModelId) 
    {
        this.carModelId = carModelId;
    }

    public Long getCarModelId() 
    {
        return carModelId;
    }
    public void setCarQty(Long carQty) 
    {
        this.carQty = carQty;
    }

    public Long getCarQty() 
    {
        return carQty;
    }
    public void setPickAddress(String pickAddress) 
    {
        this.pickAddress = pickAddress;
    }

    public String getPickAddress() 
    {
        return pickAddress;
    }
    public void setPickLocation(String pickLocation) 
    {
        this.pickLocation = pickLocation;
    }

    public String getPickLocation() 
    {
        return pickLocation;
    }
    public void setCompanyUser(String companyUser) 
    {
        this.companyUser = companyUser;
    }

    public String getCompanyUser() 
    {
        return companyUser;
    }
    public void setPersonUser(String personUser) 
    {
        this.personUser = personUser;
    }

    public String getPersonUser() 
    {
        return personUser;
    }
    public void setAddDriverQty(Long addDriverQty) 
    {
        this.addDriverQty = addDriverQty;
    }

    public Long getAddDriverQty() 
    {
        return addDriverQty;
    }
    public void setSubgradeBoxQty(Long subgradeBoxQty) 
    {
        this.subgradeBoxQty = subgradeBoxQty;
    }

    public Long getSubgradeBoxQty() 
    {
        return subgradeBoxQty;
    }
    public void setCarWeight(BigDecimal carWeight) 
    {
        this.carWeight = carWeight;
    }

    public BigDecimal getCarWeight() 
    {
        return carWeight;
    }
    public void setCaptain(Long captain) 
    {
        this.captain = captain;
    }

    public Long getCaptain() 
    {
        return captain;
    }
    public void setChargeType(String chargeType) 
    {
        this.chargeType = chargeType;
    }

    public String getChargeType() 
    {
        return chargeType;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setPickCarTime(Date pickCarTime) 
    {
        this.pickCarTime = pickCarTime;
    }

    public Date getPickCarTime() 
    {
        return pickCarTime;
    }
    public void setPayType(String payType) 
    {
        this.payType = payType;
    }

    public String getPayType() 
    {
        return payType;
    }
    public void setInsurance(String insurance) 
    {
        this.insurance = insurance;
    }

    public String getInsurance() 
    {
        return insurance;
    }
    public void setUpkeep(String upkeep) 
    {
        this.upkeep = upkeep;
    }

    public String getUpkeep() 
    {
        return upkeep;
    }
    public void setWorkMonth(BigDecimal workMonth) 
    {
        this.workMonth = workMonth;
    }

    public BigDecimal getWorkMonth() 
    {
        return workMonth;
    }
    public void setWorkAddressId(String workAddressId) 
    {
        this.workAddressId = workAddressId;
    }

    public String getWorkAddressId() 
    {
        return workAddressId;
    }
    public void setWorkAddress(String workAddress) 
    {
        this.workAddress = workAddress;
    }

    public String getWorkAddress() 
    {
        return workAddress;
    }
    public void setWorkEnv(String workEnv) 
    {
        this.workEnv = workEnv;
    }

    public String getWorkEnv() 
    {
        return workEnv;
    }
    public void setWorkContent(String workContent) 
    {
        this.workContent = workContent;
    }

    public String getWorkContent() 
    {
        return workContent;
    }
    public void setEarnestMoneyFlag(String earnestMoneyFlag) 
    {
        this.earnestMoneyFlag = earnestMoneyFlag;
    }

    public String getEarnestMoneyFlag() 
    {
        return earnestMoneyFlag;
    }
    public void setEarnestMoney(BigDecimal earnestMoney) 
    {
        this.earnestMoney = earnestMoney;
    }

    public BigDecimal getEarnestMoney() 
    {
        return earnestMoney;
    }
    public void setDiscount(String discount) 
    {
        this.discount = discount;
    }

    public String getDiscount() 
    {
        return discount;
    }
    public void setRate(BigDecimal rate) 
    {
        this.rate = rate;
    }

    public BigDecimal getRate() 
    {
        return rate;
    }
    public void setShipMode(String shipMode) 
    {
        this.shipMode = shipMode;
    }

    public String getShipMode() 
    {
        return shipMode;
    }
    public void setAddDriver(String addDriver) 
    {
        this.addDriver = addDriver;
    }

    public String getAddDriver() 
    {
        return addDriver;
    }
    public void setAddDriverPrice(BigDecimal addDriverPrice) 
    {
        this.addDriverPrice = addDriverPrice;
    }

    public BigDecimal getAddDriverPrice() 
    {
        return addDriverPrice;
    }
    public void setEat(String eat) 
    {
        this.eat = eat;
    }

    public String getEat() 
    {
        return eat;
    }
    public void setEatPrice(BigDecimal eatPrice) 
    {
        this.eatPrice = eatPrice;
    }

    public BigDecimal getEatPrice() 
    {
        return eatPrice;
    }
    public void setSleep(String sleep) 
    {
        this.sleep = sleep;
    }

    public String getSleep() 
    {
        return sleep;
    }
    public void setSleepPrice(BigDecimal sleepPrice) 
    {
        this.sleepPrice = sleepPrice;
    }

    public BigDecimal getSleepPrice() 
    {
        return sleepPrice;
    }
    public void setOil(String oil) 
    {
        this.oil = oil;
    }

    public String getOil() 
    {
        return oil;
    }
    public void setOilPrice(BigDecimal oilPrice) 
    {
        this.oilPrice = oilPrice;
    }

    public BigDecimal getOilPrice() 
    {
        return oilPrice;
    }
    public void setDismantlePerson(String dismantlePerson) 
    {
        this.dismantlePerson = dismantlePerson;
    }

    public String getDismantlePerson() 
    {
        return dismantlePerson;
    }
    public void setDismantlePersonPrice(BigDecimal dismantlePersonPrice) 
    {
        this.dismantlePersonPrice = dismantlePersonPrice;
    }

    public BigDecimal getDismantlePersonPrice() 
    {
        return dismantlePersonPrice;
    }
    public void setDismantleCar(String dismantleCar) 
    {
        this.dismantleCar = dismantleCar;
    }

    public String getDismantleCar() 
    {
        return dismantleCar;
    }
    public void setDismantleCarPrice(BigDecimal dismantleCarPrice) 
    {
        this.dismantleCarPrice = dismantleCarPrice;
    }

    public BigDecimal getDismantleCarPrice() 
    {
        return dismantleCarPrice;
    }
    public void setPackageCar(String packageCar) 
    {
        this.packageCar = packageCar;
    }

    public String getPackageCar() 
    {
        return packageCar;
    }
    public void setPackgaCarPrice(BigDecimal packgaCarPrice) 
    {
        this.packgaCarPrice = packgaCarPrice;
    }

    public BigDecimal getPackgaCarPrice() 
    {
        return packgaCarPrice;
    }
    public void setInstallPerson(String installPerson) 
    {
        this.installPerson = installPerson;
    }

    public String getInstallPerson() 
    {
        return installPerson;
    }
    public void setInstallPersonPrice(BigDecimal installPersonPrice) 
    {
        this.installPersonPrice = installPersonPrice;
    }

    public BigDecimal getInstallPersonPrice() 
    {
        return installPersonPrice;
    }
    public void setYearCheck(String yearCheck) 
    {
        this.yearCheck = yearCheck;
    }

    public String getYearCheck() 
    {
        return yearCheck;
    }
    public void setYearCheckPrice(BigDecimal yearCheckPrice) 
    {
        this.yearCheckPrice = yearCheckPrice;
    }

    public BigDecimal getYearCheckPrice() 
    {
        return yearCheckPrice;
    }
    public void setEntrustCheck(String entrustCheck) 
    {
        this.entrustCheck = entrustCheck;
    }

    public String getEntrustCheck() 
    {
        return entrustCheck;
    }
    public void setEntrustCheckPrice(BigDecimal entrustCheckPrice) 
    {
        this.entrustCheckPrice = entrustCheckPrice;
    }

    public BigDecimal getEntrustCheckPrice() 
    {
        return entrustCheckPrice;
    }
    public void setEnvCheck(String envCheck) 
    {
        this.envCheck = envCheck;
    }

    public String getEnvCheck() 
    {
        return envCheck;
    }
    public void setEnvCheckPrice(BigDecimal envCheckPrice) 
    {
        this.envCheckPrice = envCheckPrice;
    }

    public BigDecimal getEnvCheckPrice() 
    {
        return envCheckPrice;
    }
    public void setCertificate(String certificate) 
    {
        this.certificate = certificate;
    }

    public String getCertificate() 
    {
        return certificate;
    }
    public void setCertificatePrice(BigDecimal certificatePrice) 
    {
        this.certificatePrice = certificatePrice;
    }

    public BigDecimal getCertificatePrice() 
    {
        return certificatePrice;
    }
    public void setMedical(String medical) 
    {
        this.medical = medical;
    }

    public String getMedical() 
    {
        return medical;
    }
    public void setMedicalPrice(BigDecimal medicalPrice) 
    {
        this.medicalPrice = medicalPrice;
    }

    public BigDecimal getMedicalPrice() 
    {
        return medicalPrice;
    }
    public void setTotalPrice(BigDecimal totalPrice) 
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice() 
    {
        return totalPrice;
    }
    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }
    public void setDriverName(String driverName) 
    {
        this.driverName = driverName;
    }

    public String getDriverName() 
    {
        return driverName;
    }
    public void setContractNo(String contractNo) 
    {
        this.contractNo = contractNo;
    }

    public String getContractNo() 
    {
        return contractNo;
    }
    public void setInvoice(String invoice) 
    {
        this.invoice = invoice;
    }

    public String getInvoice() 
    {
        return invoice;
    }
    public void setOrderState(String orderState) 
    {
        this.orderState = orderState;
    }

    public String getOrderState() 
    {
        return orderState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNo", getOrderNo())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("carId", getCarId())
            .append("carNo", getCarNo())
            .append("carModelId", getCarModelId())
            .append("carQty", getCarQty())
            .append("pickAddress", getPickAddress())
            .append("pickLocation", getPickLocation())
            .append("companyUser", getCompanyUser())
            .append("personUser", getPersonUser())
            .append("addDriverQty", getAddDriverQty())
            .append("subgradeBoxQty", getSubgradeBoxQty())
            .append("carWeight", getCarWeight())
            .append("captain", getCaptain())
            .append("chargeType", getChargeType())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("pickCarTime", getPickCarTime())
            .append("payType", getPayType())
            .append("insurance", getInsurance())
            .append("upkeep", getUpkeep())
            .append("workMonth", getWorkMonth())
            .append("workAddressId", getWorkAddressId())
            .append("workAddress", getWorkAddress())
            .append("workEnv", getWorkEnv())
            .append("workContent", getWorkContent())
            .append("earnestMoneyFlag", getEarnestMoneyFlag())
            .append("earnestMoney", getEarnestMoney())
            .append("discount", getDiscount())
            .append("rate", getRate())
            .append("shipMode", getShipMode())
            .append("addDriver", getAddDriver())
            .append("addDriverPrice", getAddDriverPrice())
            .append("eat", getEat())
            .append("eatPrice", getEatPrice())
            .append("sleep", getSleep())
            .append("sleepPrice", getSleepPrice())
            .append("oil", getOil())
            .append("oilPrice", getOilPrice())
            .append("dismantlePerson", getDismantlePerson())
            .append("dismantlePersonPrice", getDismantlePersonPrice())
            .append("dismantleCar", getDismantleCar())
            .append("dismantleCarPrice", getDismantleCarPrice())
            .append("packageCar", getPackageCar())
            .append("packgaCarPrice", getPackgaCarPrice())
            .append("installPerson", getInstallPerson())
            .append("installPersonPrice", getInstallPersonPrice())
            .append("yearCheck", getYearCheck())
            .append("yearCheckPrice", getYearCheckPrice())
            .append("entrustCheck", getEntrustCheck())
            .append("entrustCheckPrice", getEntrustCheckPrice())
            .append("envCheck", getEnvCheck())
            .append("envCheckPrice", getEnvCheckPrice())
            .append("certificate", getCertificate())
            .append("certificatePrice", getCertificatePrice())
            .append("medical", getMedical())
            .append("medicalPrice", getMedicalPrice())
            .append("totalPrice", getTotalPrice())
            .append("driverId", getDriverId())
            .append("driverName", getDriverName())
            .append("contractNo", getContractNo())
            .append("invoice", getInvoice())
            .append("orderState", getOrderState())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
